import request from '@/utils/request'
import qs from 'qs'

export function login(data) {
  return request({
    url: '/login',
    method: 'post',
    data: qs.stringify(data, { indices: false }),
  })
}

// 修改密码
export function modifyPwd(data) {
  return request({
    url: '/sysUser/updatePwd',
    method: 'post',
    data: qs.stringify(data, { indices: false }),
  })
}
